
#include "TaskLogin.h"

#include <Poco/Util/Application.h>
using Poco::Util::Application;

TaskLogin::TaskLogin() : Task("TaskLogin")
{
}

TaskLogin::~TaskLogin()
{
}

void TaskLogin::runTask()
{
	Application& app = Application::instance();
	while (!sleep(2000)) {
		Application::instance().logger().information("busy doing nothing... " + DateTimeFormatter::format(app.uptime()));
	}
}
